<?php
	/*
	 *    Copyright 2009 OneProfession
	 *
	 *     Licensed under the Apache License, Version 2.0 (the "License");
	 *     you may not use this file except in compliance with the License.
	 *     You may obtain a copy of the License at
	 *
	 *          http://www.apache.org/licenses/LICENSE-2.0
	 *
	 *      Unless required by applicable law or agreed to in writing, software
	 *      distributed under the License is distributed on an "AS IS" BASIS,
	 *      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	 *      See the License for the specific language governing permissions and
	 *      limitations under the License.
	 */
	
	/*
	 * UAS Threads
	 * 
	 * UAS Threads define the global threads to be passed around the system.
	 */
	$uas_config->threads = Array("id", "user", "password", "email", "usergroup");
	
	$uas_config->authenticate_against = "master"; // discussion, open-id, etc
	
	$uas_config->master = new ConnectorConfig();
	
	$uas_config->master->type = "mysql";
	$uas_config->master->config_options = Array("dbhost" => "localhost",
										"dbschema" => "uas_master",
										"dbusername" => "root",
										"dbpassword" => "",
										"dbtable" => "users",
										"tablemap" => Array("id"=>"id", "user"=>"username", "password"=>"password", "email"=>"email", "usergroup"=>"usergroup"));
	
	$uas_config->aux = Array();
	
	$uas_config->aux["discussion"] = new ConnectorConfig();
	$uas_config->aux["discussion"]->type = "smf";
	$uas_config->aux["discussion"]->name = "discussion";
	$uas_config->aux["discussion"]->config_options = Array("smf_path" => "//",
										"" => "");
	
?>